<form action="{:U('Admin/Rbac/editRole')}" method="post">
<table class="table table-bordered table-hover definewidth m10">
    <tr>
        <td width="10%" class="tableleft">角色名称</td>
        <td><input type="text" name="name" value="{$role.name}"/></td>
    </tr>
    <tr>
        <td class="tableleft">角色描述</td>
        <td><input type="text" name="remark" value="{$role.remark}"/></td>
    </tr>   
    <tr>
        <td class="tableleft">状态</td>
        <td>
            <input type="radio" name="status" value="1" <if condition="$role['status'] eq 1">checked</if>/> 启用
            <input type="radio" name="status" value="0" <if condition="$role['status'] eq 0">checked</if>/> 禁用
        </td>
    </tr>
    <tr>
        <td class="tableleft"></td>
        <td>
            <input type="hidden" name="id" value="{$role.id}"/>
            <button type="submit" class="btn btn-primary" type="button">保存</button>&nbsp;&nbsp;
            <button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
        </td>
    </tr>
</table>
</form>